package com.designpattern.factory.abstract1.ag3;

public class Test {

    public static void main(String[] args) {
        IY iy = new Y1Impl();
        IX1 x1 = iy.getX1();
        x1.ix1();
        IX2 x2 = iy.getX2();
        x2.ix2();
    }
}
